<?php

namespace app\admin\error;

class Oauth
{
    public static $loseAccessToken = [RESULT_CODE => 30001, RESULT_MESSAGE => 'header头缺少Access-Token', RESULT_SUCCESS => false];

    public static $wrongToken = [RESULT_CODE => 30002, RESULT_MESSAGE => '错误的token', RESULT_SUCCESS => false];

    public static $parseTokenFailed = [RESULT_CODE => 30003, RESULT_MESSAGE => 'token解析失败', RESULT_SUCCESS => false];

    public static $Unauthorized = [RESULT_CODE => 30004, RESULT_MESSAGE => '没有权限访问', RESULT_SUCCESS => false];

}
